package com.js.springbootmongodb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {

    @GetMapping("/goList")
    public String goList(){
        return "comment-list";
    }


    @GetMapping("/goArticleList")
    public String goArticleList(){
        return "article-list";
    }
}
